package ru.stork.vasilisa.generators

import ru.stork.vasilisa.model.VasilisaType

trait Generator extends ((VasilisaType, String) => Unit) {
  def printPackage(pkg:List[String]):String =
    pkg.foldLeft("")( (t,x) => t + "." + x )
}